<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="utf-8"%>
<%@include file="header.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Add User</title>
<link rel="stylesheet" type="text/css"
	href="<%=contextPath%>/admin/common.css">
<style>
.form-invalid {
	background-color: #FFFFFF;
	/*background-image:url(../images/invalid_line.gif);*/
	border-color: #CC3300;
}
<link rel="stylesheet" type="text/css" href="<%=contextPath %>/admin/common.css">
</style>
	<script>
	$(document).ready(function(){
	    $("table tbody tr:even").addClass("tdbgcolor1"); 
	    $("table tbody tr:odd").addClass("tdbgcolor2");
	})
	</script>
</head>
<body>
	<div align="center">编辑用户</div>

	<form action="updateMember.action" method="post" name="updateMember"	id="updateMember">
		<table align="center" border="0" cellpadding="3" cellspacing="1"			width="98%">
			<tr align="left">
				<td class="sitetext" width="29%">First Name <span class="error">*</span>
				</td>
				<td  width="71%">
				<input	name="member.firstName"  disabled="disabled"  value='<s:property value='member.firstName'/>' class="sitetext" id="txtFname"	maxlength="255" type="text">
				</td>
			</tr>
			<tr align="left">
				<td class="sitetext">Last Name <span class="error">*</span>
				</td>
				<td >
				<input name="member.lastName" disabled="disabled"  value='<s:property value='member.lastName'/>'
					id="txtLname" class="sitetext" maxlength="255" type="text">
				</td>
			</tr>
			<tr align="left">
				<td class="sitetext">Address <span class="error">*</span>
				</td>
				<td ><input name="member.address1"  disabled="disabled" value='<s:property value='member.address1'/>'
					class="sitetext" id="txtAddress1" size="30" maxlength="255"
					type="text">
				</td>
			</tr>
			<tr align="left">
				<td class="sitetext">&nbsp;</td>
				<td ><input name="member.address2" disabled="disabled"  value='<s:property value='member.address2'/>'
					class="sitetext" id="txtAddress2" size="30" maxlength="255"
					type="text">
				</td>
			</tr>
			<tr align="left">
				<td class="sitetext">&nbsp;</td>
				<td ><input name="member.address3" disabled="disabled" value='<s:property value='member.address3'/>'
					class="sitetext" size="30" maxlength="255" type="text">
				</td>
			</tr>
			<tr align="left">
				<td class="sitetext">City <span class="error">*</span>
				</td>
				<td ><input name="member.city" disabled="disabled"  value='<s:property value='member.city'/>'
					class="sitetext" id="txtCity" maxlength="255" type="text">
				</td>
			</tr>
			<!-- 
			<tr>
				<td class="sitetext">State</td>
				<td class="error" ><select name="member.state" value='<s:property value='member.state'/>'
					size="1" class="sitetext">
						<option selected="selected" value="">&nbsp;</option>
						<option value="AK">Alaska</option>
						<option value="AL">Alabama</option>
						<option value="AR">Arkansas</option>
						<option value="AZ">Arizona</option>
						<option value="CA">California</option>
						<option value="CO">Colorado</option>
						<option value="CT">Connecticut</option>
						<option value="CZ">Canal Zone</option>
						<option value="DC">District of Columbia</option>
						<option value="DE">Delaware</option>
						<option value="FL">Florida</option>
						<option value="GA">Georgia</option>
						<option value="GU">Guam</option>
						<option value="HI">Hawaii</option>
						<option value="IA">Iowa</option>
						<option value="ID">Idaho</option>
						<option value="IL">Illinois</option>
						<option value="IN">Indiana</option>
						<option value="KS">Kansas</option>
						<option value="KY">Kentucky</option>
						<option value="LA">Louisiana</option>
						<option value="MA">Massachusetts</option>
						<option value="MD">Maryland</option>
						<option value="ME">Maine</option>
						<option value="MI">Michigan</option>
						<option value="MN">Minnesota</option>
						<option value="MO">Missouri</option>
						<option value="MS">Mississippi</option>
						<option value="MT">Montana</option>
						<option value="NC">North Carolina</option>
						<option value="ND">North Dakota</option>
						<option value="NE">Nebraska</option>
						<option value="NH">New Hampshire</option>
						<option value="NJ">New Jersey</option>
						<option value="NM">New Mexico</option>
						<option value="NV">Nevada</option>
						<option value="NY">New York</option>
						<option value="OH">Ohio</option>
						<option value="OK">Oklahoma</option>
						<option value="OR">Oregon</option>
						<option value="PA">Pennsylvania</option>
						<option value="PR">Puerto Rico</option>
						<option value="RI">Rhode Island</option>
						<option value="SC">South Carolina</option>
						<option value="SD">South Dakota</option>
						<option value="TN">Tennessee</option>
						<option value="TX">Texas</option>
						<option value="UT">Utah</option>
						<option value="VA">Virginia</option>
						<option value="VI">Virgin Islands</option>
						<option value="VT">Vermont</option>
						<option value="WA">Washington</option>
						<option value="WI">Wisconsin</option>
						<option value="WV">West Virginia</option>
						<option value="WY">Wyoming</option>
						<option value="AA">Outside United States</option>
				</select> (state or country is required.)</td>
			</tr>
			-->
			<tr>
				<td class="sitetext">Zip/Postal Code <span class="error">*</span>
				</td>
				<td ><input name="member.zip"  disabled="disabled"  value='<s:property value='member.zip'/>'
					class="sitetext" id="txtZip" maxlength="10" type="text">
				</td>
			</tr>
			<tr>
				<td class="sitetext">Country</td>
				<td ><input name="member.country"  disabled="disabled" value='<s:property value='member.country'/>'
					class="sitetext" id="txtCountry" maxlength="255" type="text">
				</td>
			</tr>
			<tr>
				<td class="sitetext">Phone</td>
				<td ><input name="member.phone" disabled="disabled"  value='<s:property value='member.phone'/>'
					class="sitetext" id="txtPhone" maxlength="15" type="text">
				</td>
			</tr>
			<tr>
				<td class="sitetext">Email Address <span class="error">*</span>
				</td>
				<td ><input name="member.email"  disabled="disabled" value='<s:property value='member.email'/>'
					class="sitetext" id="txtEmail" size="35" maxlength="255"
					type="text"> <span class="sitetext"></span>
				</td>
			</tr>
			<tr>
				<td class="sitetext">Member Type</td>
				<td class="error" >
				<select name="member.memberType" 	size="1" class="sitetext">
						<option  <s:if test="member.memberType ==0 ">selected</s:if>  value="0">Normal</option>
						<option  <s:if test="member.memberType ==2 ">selected</s:if>  value="2">Silver</option>
						<option  <s:if test="member.memberType ==3 ">selected</s:if>  value="3 ">Gold </option>
						<option  <s:if test="member.memberType ==1 ">selected</s:if>  value="1">Copper</option>
				</select>
						</td>
				</tr>
			<tr>
				<td class="sitetext">&nbsp;</td>
				<td ><input  type="submit" />	</td>
			</tr>				
		</table>
	</form>

</body>
</html>
